﻿namespace QiangPiao
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections;
    using System.ComponentModel;
    using System.ComponentModel.Design;
    using System.Data;
    using System.Diagnostics;
    using System.IO;
    using System.Reflection;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;
    using System.Threading;
    using System.Xml;
    using System.Xml.Schema;
    using System.Xml.Serialization;

    [Serializable, XmlRoot("DataSetPiaoInfo"), HelpKeyword("vs.data.DataSet"), DesignerCategory("code"), XmlSchemaProvider("GetTypedDataSetSchema"), ToolboxItem(true)]
    public class DataSetPiaoInfo : DataSet
    {
        private System.Data.SchemaSerializationMode _schemaSerializationMode;
        private DTCardTypeDataTable tableDTCardType;
        private DTCheCiDataTable tableDTCheCi;
        private DTCityCodeDataTable tableDTCityCode;
        private DTPiaoTypeDataTable tableDTPiaoType;
        private DTPiaoXiBieDataTable tableDTPiaoXiBie;

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public DataSetPiaoInfo()
        {
            this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            base.BeginInit();
            this.InitClass();
            CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += handler;
            base.Relations.CollectionChanged += handler;
            base.EndInit();
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected DataSetPiaoInfo(SerializationInfo info, StreamingContext context) : base(info, context, false)
        {
            this._schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            if (base.IsBinarySerialized(info, context))
            {
                this.InitVars(false);
                CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
                this.Tables.CollectionChanged += handler;
                this.Relations.CollectionChanged += handler;
            }
            else
            {
                string s = (string) info.GetValue("XmlSchema", typeof(string));
                if (base.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)
                {
                    DataSet dataSet = new DataSet();
                    dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
                    if (dataSet.Tables["DTPiaoType"] != null)
                    {
                        base.Tables.Add(new DTPiaoTypeDataTable(dataSet.Tables["DTPiaoType"]));
                    }
                    if (dataSet.Tables["DTPiaoXiBie"] != null)
                    {
                        base.Tables.Add(new DTPiaoXiBieDataTable(dataSet.Tables["DTPiaoXiBie"]));
                    }
                    if (dataSet.Tables["DTCardType"] != null)
                    {
                        base.Tables.Add(new DTCardTypeDataTable(dataSet.Tables["DTCardType"]));
                    }
                    if (dataSet.Tables["DTCityCode"] != null)
                    {
                        base.Tables.Add(new DTCityCodeDataTable(dataSet.Tables["DTCityCode"]));
                    }
                    if (dataSet.Tables["DTCheCi"] != null)
                    {
                        base.Tables.Add(new DTCheCiDataTable(dataSet.Tables["DTCheCi"]));
                    }
                    base.DataSetName = dataSet.DataSetName;
                    base.Prefix = dataSet.Prefix;
                    base.Namespace = dataSet.Namespace;
                    base.Locale = dataSet.Locale;
                    base.CaseSensitive = dataSet.CaseSensitive;
                    base.EnforceConstraints = dataSet.EnforceConstraints;
                    base.Merge(dataSet, false, MissingSchemaAction.Add);
                    this.InitVars();
                }
                else
                {
                    base.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
                }
                base.GetSerializationData(info, context);
                CollectionChangeEventHandler handler2 = new CollectionChangeEventHandler(this.SchemaChanged);
                base.Tables.CollectionChanged += handler2;
                this.Relations.CollectionChanged += handler2;
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        public override DataSet Clone()
        {
            DataSetPiaoInfo info = (DataSetPiaoInfo) base.Clone();
            info.InitVars();
            info.SchemaSerializationMode = this.SchemaSerializationMode;
            return info;
        }

        public void FillData()
        {
            this.DTCardType.FillData();
            this.DTPiaoType.FillData();
            this.DTPiaoXiBie.FillData();
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override XmlSchema GetSchemaSerializable()
        {
            MemoryStream w = new MemoryStream();
            base.WriteXmlSchema(new XmlTextWriter(w, null));
            w.Position = 0L;
            return XmlSchema.Read(new XmlTextReader(w), null);
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
        {
            DataSetPiaoInfo info = new DataSetPiaoInfo();
            XmlSchemaComplexType type = new XmlSchemaComplexType();
            XmlSchemaSequence sequence = new XmlSchemaSequence();
            XmlSchemaAny item = new XmlSchemaAny {
                Namespace = info.Namespace
            };
            sequence.Items.Add(item);
            type.Particle = sequence;
            XmlSchema schemaSerializable = info.GetSchemaSerializable();
            if (xs.Contains(schemaSerializable.TargetNamespace))
            {
                MemoryStream stream = new MemoryStream();
                MemoryStream stream2 = new MemoryStream();
                try
                {
                    XmlSchema current = null;
                    schemaSerializable.Write(stream);
                    IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                    while (enumerator.MoveNext())
                    {
                        current = (XmlSchema) enumerator.Current;
                        stream2.SetLength(0L);
                        current.Write(stream2);
                        if (stream.Length == stream2.Length)
                        {
                            stream.Position = 0L;
                            stream2.Position = 0L;
                            while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                            {
                            }
                            if (stream.Position == stream.Length)
                            {
                                return type;
                            }
                        }
                    }
                }
                finally
                {
                    if (stream != null)
                    {
                        stream.Close();
                    }
                    if (stream2 != null)
                    {
                        stream2.Close();
                    }
                }
            }
            xs.Add(schemaSerializable);
            return type;
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void InitClass()
        {
            base.DataSetName = "DataSetPiaoInfo";
            base.Prefix = "";
            base.Namespace = "http://tempuri.org/DataSetPiaoInfo.xsd";
            base.EnforceConstraints = true;
            this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableDTPiaoType = new DTPiaoTypeDataTable();
            base.Tables.Add(this.tableDTPiaoType);
            this.tableDTPiaoXiBie = new DTPiaoXiBieDataTable();
            base.Tables.Add(this.tableDTPiaoXiBie);
            this.tableDTCardType = new DTCardTypeDataTable();
            base.Tables.Add(this.tableDTCardType);
            this.tableDTCityCode = new DTCityCodeDataTable();
            base.Tables.Add(this.tableDTCityCode);
            this.tableDTCheCi = new DTCheCiDataTable();
            base.Tables.Add(this.tableDTCheCi);
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override void InitializeDerivedDataSet()
        {
            base.BeginInit();
            this.InitClass();
            base.EndInit();
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        internal void InitVars()
        {
            this.InitVars(true);
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        internal void InitVars(bool initTable)
        {
            this.tableDTPiaoType = (DTPiaoTypeDataTable) base.Tables["DTPiaoType"];
            if (initTable && (this.tableDTPiaoType != null))
            {
                this.tableDTPiaoType.InitVars();
            }
            this.tableDTPiaoXiBie = (DTPiaoXiBieDataTable) base.Tables["DTPiaoXiBie"];
            if (initTable && (this.tableDTPiaoXiBie != null))
            {
                this.tableDTPiaoXiBie.InitVars();
            }
            this.tableDTCardType = (DTCardTypeDataTable) base.Tables["DTCardType"];
            if (initTable && (this.tableDTCardType != null))
            {
                this.tableDTCardType.InitVars();
            }
            this.tableDTCityCode = (DTCityCodeDataTable) base.Tables["DTCityCode"];
            if (initTable && (this.tableDTCityCode != null))
            {
                this.tableDTCityCode.InitVars();
            }
            this.tableDTCheCi = (DTCheCiDataTable) base.Tables["DTCheCi"];
            if (initTable && (this.tableDTCheCi != null))
            {
                this.tableDTCheCi.InitVars();
            }
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override void ReadXmlSerializable(XmlReader reader)
        {
            if (base.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)
            {
                this.Reset();
                DataSet dataSet = new DataSet();
                dataSet.ReadXml(reader);
                if (dataSet.Tables["DTPiaoType"] != null)
                {
                    base.Tables.Add(new DTPiaoTypeDataTable(dataSet.Tables["DTPiaoType"]));
                }
                if (dataSet.Tables["DTPiaoXiBie"] != null)
                {
                    base.Tables.Add(new DTPiaoXiBieDataTable(dataSet.Tables["DTPiaoXiBie"]));
                }
                if (dataSet.Tables["DTCardType"] != null)
                {
                    base.Tables.Add(new DTCardTypeDataTable(dataSet.Tables["DTCardType"]));
                }
                if (dataSet.Tables["DTCityCode"] != null)
                {
                    base.Tables.Add(new DTCityCodeDataTable(dataSet.Tables["DTCityCode"]));
                }
                if (dataSet.Tables["DTCheCi"] != null)
                {
                    base.Tables.Add(new DTCheCiDataTable(dataSet.Tables["DTCheCi"]));
                }
                base.DataSetName = dataSet.DataSetName;
                base.Prefix = dataSet.Prefix;
                base.Namespace = dataSet.Namespace;
                base.Locale = dataSet.Locale;
                base.CaseSensitive = dataSet.CaseSensitive;
                base.EnforceConstraints = dataSet.EnforceConstraints;
                base.Merge(dataSet, false, MissingSchemaAction.Add);
                this.InitVars();
            }
            else
            {
                base.ReadXml(reader);
                this.InitVars();
            }
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void SchemaChanged(object sender, CollectionChangeEventArgs e)
        {
            if (e.Action == CollectionChangeAction.Remove)
            {
                this.InitVars();
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        private bool ShouldSerializeDTCardType()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        private bool ShouldSerializeDTCheCi()
        {
            return false;
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private bool ShouldSerializeDTCityCode()
        {
            return false;
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private bool ShouldSerializeDTPiaoType()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        private bool ShouldSerializeDTPiaoXiBie()
        {
            return false;
        }

        [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override bool ShouldSerializeRelations()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
        protected override bool ShouldSerializeTables()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
        public DTCardTypeDataTable DTCardType
        {
            get
            {
                return this.tableDTCardType;
            }
        }

        [DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Content), Browsable(false), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public DTCheCiDataTable DTCheCi
        {
            get
            {
                return this.tableDTCheCi;
            }
        }

        [DebuggerNonUserCode, Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public DTCityCodeDataTable DTCityCode
        {
            get
            {
                return this.tableDTCityCode;
            }
        }

        [DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(false)]
        public DTPiaoTypeDataTable DTPiaoType
        {
            get
            {
                return this.tableDTPiaoType;
            }
        }

        [Browsable(false), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), DebuggerNonUserCode]
        public DTPiaoXiBieDataTable DTPiaoXiBie
        {
            get
            {
                return this.tableDTPiaoXiBie;
            }
        }

        //[DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        //public DataRelationCollection Relations
        //{
        //    get
        //    {
        //        return base.Relations;
        //    }
        //}

        [DebuggerNonUserCode, DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), Browsable(true), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public override System.Data.SchemaSerializationMode SchemaSerializationMode
        {
            get
            {
                return this._schemaSerializationMode;
            }
            set
            {
                this._schemaSerializationMode = value;
            }
        }

        //[DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        //public DataTableCollection Tables
        //{
        //    get
        //    {
        //        return base.Tables;
        //    }
        //}

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class DTCardTypeDataTable : TypedTableBase<DataSetPiaoInfo.DTCardTypeRow>
        {
            private DataColumn columnID;
            private DataColumn columnText;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCardTypeRowChangeEventHandler DTCardTypeRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCardTypeRowChangeEventHandler DTCardTypeRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCardTypeRowChangeEventHandler DTCardTypeRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCardTypeRowChangeEventHandler DTCardTypeRowDeleting;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DTCardTypeDataTable()
            {
                base.TableName = "DTCardType";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal DTCardTypeDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected DTCardTypeDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void AddDTCardTypeRow(DataSetPiaoInfo.DTCardTypeRow row)
            {
                base.Rows.Add(row);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTCardTypeRow AddDTCardTypeRow(string ID, string Text)
            {
                DataSetPiaoInfo.DTCardTypeRow row = (DataSetPiaoInfo.DTCardTypeRow) base.NewRow();
                row.ItemArray = new object[] { ID, Text };
                base.Rows.Add(row);
                return row;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public override DataTable Clone()
            {
                DataSetPiaoInfo.DTCardTypeDataTable table = (DataSetPiaoInfo.DTCardTypeDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataTable CreateInstance()
            {
                return new DataSetPiaoInfo.DTCardTypeDataTable();
            }

            public void FillData()
            {
                this.AddDTCardTypeRow("1", "二代身份证");
                this.AddDTCardTypeRow("2", "一代身份证");
                this.AddDTCardTypeRow("C", "港澳通行证");
                this.AddDTCardTypeRow("G", "台湾通行证");
                this.AddDTCardTypeRow("B", "护照");
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override Type GetRowType()
            {
                return typeof(DataSetPiaoInfo.DTCardTypeRow);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                DataSetPiaoInfo info = new DataSetPiaoInfo();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = info.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "DTCardTypeDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = info.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private void InitClass()
            {
                this.columnID = new DataColumn("ID", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columnText = new DataColumn("Text", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnText);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal void InitVars()
            {
                this.columnID = base.Columns["ID"];
                this.columnText = base.Columns["Text"];
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTCardTypeRow NewDTCardTypeRow()
            {
                return (DataSetPiaoInfo.DTCardTypeRow) base.NewRow();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new DataSetPiaoInfo.DTCardTypeRow(builder);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.DTCardTypeRowChanged != null)
                {
                    this.DTCardTypeRowChanged(this, new DataSetPiaoInfo.DTCardTypeRowChangeEvent((DataSetPiaoInfo.DTCardTypeRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.DTCardTypeRowChanging != null)
                {
                    this.DTCardTypeRowChanging(this, new DataSetPiaoInfo.DTCardTypeRowChangeEvent((DataSetPiaoInfo.DTCardTypeRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.DTCardTypeRowDeleted != null)
                {
                    this.DTCardTypeRowDeleted(this, new DataSetPiaoInfo.DTCardTypeRowChangeEvent((DataSetPiaoInfo.DTCardTypeRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.DTCardTypeRowDeleting != null)
                {
                    this.DTCardTypeRowDeleting(this, new DataSetPiaoInfo.DTCardTypeRowChangeEvent((DataSetPiaoInfo.DTCardTypeRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void RemoveDTCardTypeRow(DataSetPiaoInfo.DTCardTypeRow row)
            {
                base.Rows.Remove(row);
            }

            [Browsable(false), DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn IDColumn
            {
                get
                {
                    return this.columnID;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTCardTypeRow this[int index]
            {
                get
                {
                    return (DataSetPiaoInfo.DTCardTypeRow) base.Rows[index];
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn TextColumn
            {
                get
                {
                    return this.columnText;
                }
            }
        }

        public class DTCardTypeRow : DataRow
        {
            private DataSetPiaoInfo.DTCardTypeDataTable tableDTCardType;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal DTCardTypeRow(DataRowBuilder rb) : base(rb)
            {
                this.tableDTCardType = (DataSetPiaoInfo.DTCardTypeDataTable) base.Table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsIDNull()
            {
                return base.IsNull(this.tableDTCardType.IDColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsTextNull()
            {
                return base.IsNull(this.tableDTCardType.TextColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIDNull()
            {
                base[this.tableDTCardType.IDColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetTextNull()
            {
                base[this.tableDTCardType.TextColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string ID
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCardType.IDColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCardType”中列“ID”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCardType.IDColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string Text
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCardType.TextColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCardType”中列“Text”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCardType.TextColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class DTCardTypeRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private DataSetPiaoInfo.DTCardTypeRow eventRow;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DTCardTypeRowChangeEvent(DataSetPiaoInfo.DTCardTypeRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTCardTypeRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void DTCardTypeRowChangeEventHandler(object sender, DataSetPiaoInfo.DTCardTypeRowChangeEvent e);

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class DTCheCiDataTable : TypedTableBase<DataSetPiaoInfo.DTCheCiRow>
        {
            private DataColumn columnCheCi;
            private DataColumn columnDaoTime;
            private DataColumn columnDaoZhan;
            private DataColumn columnDeng1;
            private DataColumn columnDeng2;
            private DataColumn columnDengSW;
            private DataColumn columnDengTD;
            private DataColumn columnFaTime;
            private DataColumn columnFaZhan;
            private DataColumn columnPostPar;
            private DataColumn columnQiTa;
            private DataColumn columnRowID;
            private DataColumn columnRuanWo;
            private DataColumn columnRuanWoGaoji;
            private DataColumn columnRuanZuo;
            private DataColumn columnTime;
            private DataColumn columnWuZuo;
            private DataColumn columnYingWo;
            private DataColumn columnYingZuo;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCheCiRowChangeEventHandler DTCheCiRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCheCiRowChangeEventHandler DTCheCiRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCheCiRowChangeEventHandler DTCheCiRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCheCiRowChangeEventHandler DTCheCiRowDeleting;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DTCheCiDataTable()
            {
                base.TableName = "DTCheCi";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal DTCheCiDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected DTCheCiDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void AddDTCheCiRow(DataSetPiaoInfo.DTCheCiRow row)
            {
                base.Rows.Add(row);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTCheCiRow AddDTCheCiRow(string RowID, string CheCi, string FaZhan, string FaTime, string DaoZhan, string DaoTime, string Time, string DengSW, string DengTD, string Deng1, string Deng2, string RuanWoGaoji, string RuanWo, string YingWo, string RuanZuo, string YingZuo, string WuZuo, string QiTa, string PostPar)
            {
                DataSetPiaoInfo.DTCheCiRow row = (DataSetPiaoInfo.DTCheCiRow) base.NewRow();
                row.ItemArray = new object[] { 
                    RowID, CheCi, FaZhan, FaTime, DaoZhan, DaoTime, Time, DengSW, DengTD, Deng1, Deng2, RuanWoGaoji, RuanWo, YingWo, RuanZuo, YingZuo, 
                    WuZuo, QiTa, PostPar
                 };
                base.Rows.Add(row);
                return row;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public override DataTable Clone()
            {
                DataSetPiaoInfo.DTCheCiDataTable table = (DataSetPiaoInfo.DTCheCiDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataTable CreateInstance()
            {
                return new DataSetPiaoInfo.DTCheCiDataTable();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override Type GetRowType()
            {
                return typeof(DataSetPiaoInfo.DTCheCiRow);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                DataSetPiaoInfo info = new DataSetPiaoInfo();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = info.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "DTCheCiDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = info.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private void InitClass()
            {
                this.columnRowID = new DataColumn("RowID", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnRowID);
                this.columnCheCi = new DataColumn("CheCi", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnCheCi);
                this.columnFaZhan = new DataColumn("FaZhan", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnFaZhan);
                this.columnFaTime = new DataColumn("FaTime", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnFaTime);
                this.columnDaoZhan = new DataColumn("DaoZhan", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnDaoZhan);
                this.columnDaoTime = new DataColumn("DaoTime", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnDaoTime);
                this.columnTime = new DataColumn("Time", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnTime);
                this.columnDengSW = new DataColumn("DengSW", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnDengSW);
                this.columnDengTD = new DataColumn("DengTD", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnDengTD);
                this.columnDeng1 = new DataColumn("Deng1", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnDeng1);
                this.columnDeng2 = new DataColumn("Deng2", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnDeng2);
                this.columnRuanWoGaoji = new DataColumn("RuanWoGaoji", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnRuanWoGaoji);
                this.columnRuanWo = new DataColumn("RuanWo", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnRuanWo);
                this.columnYingWo = new DataColumn("YingWo", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnYingWo);
                this.columnRuanZuo = new DataColumn("RuanZuo", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnRuanZuo);
                this.columnYingZuo = new DataColumn("YingZuo", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnYingZuo);
                this.columnWuZuo = new DataColumn("WuZuo", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnWuZuo);
                this.columnQiTa = new DataColumn("QiTa", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnQiTa);
                this.columnPostPar = new DataColumn("PostPar", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnPostPar);
                this.columnCheCi.Caption = "ID";
                this.columnFaZhan.Caption = "Text";
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal void InitVars()
            {
                this.columnRowID = base.Columns["RowID"];
                this.columnCheCi = base.Columns["CheCi"];
                this.columnFaZhan = base.Columns["FaZhan"];
                this.columnFaTime = base.Columns["FaTime"];
                this.columnDaoZhan = base.Columns["DaoZhan"];
                this.columnDaoTime = base.Columns["DaoTime"];
                this.columnTime = base.Columns["Time"];
                this.columnDengSW = base.Columns["DengSW"];
                this.columnDengTD = base.Columns["DengTD"];
                this.columnDeng1 = base.Columns["Deng1"];
                this.columnDeng2 = base.Columns["Deng2"];
                this.columnRuanWoGaoji = base.Columns["RuanWoGaoji"];
                this.columnRuanWo = base.Columns["RuanWo"];
                this.columnYingWo = base.Columns["YingWo"];
                this.columnRuanZuo = base.Columns["RuanZuo"];
                this.columnYingZuo = base.Columns["YingZuo"];
                this.columnWuZuo = base.Columns["WuZuo"];
                this.columnQiTa = base.Columns["QiTa"];
                this.columnPostPar = base.Columns["PostPar"];
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTCheCiRow NewDTCheCiRow()
            {
                return (DataSetPiaoInfo.DTCheCiRow) base.NewRow();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new DataSetPiaoInfo.DTCheCiRow(builder);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.DTCheCiRowChanged != null)
                {
                    this.DTCheCiRowChanged(this, new DataSetPiaoInfo.DTCheCiRowChangeEvent((DataSetPiaoInfo.DTCheCiRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.DTCheCiRowChanging != null)
                {
                    this.DTCheCiRowChanging(this, new DataSetPiaoInfo.DTCheCiRowChangeEvent((DataSetPiaoInfo.DTCheCiRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.DTCheCiRowDeleted != null)
                {
                    this.DTCheCiRowDeleted(this, new DataSetPiaoInfo.DTCheCiRowChangeEvent((DataSetPiaoInfo.DTCheCiRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.DTCheCiRowDeleting != null)
                {
                    this.DTCheCiRowDeleting(this, new DataSetPiaoInfo.DTCheCiRowChangeEvent((DataSetPiaoInfo.DTCheCiRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void RemoveDTCheCiRow(DataSetPiaoInfo.DTCheCiRow row)
            {
                base.Rows.Remove(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn CheCiColumn
            {
                get
                {
                    return this.columnCheCi;
                }
            }

            [Browsable(false), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn DaoTimeColumn
            {
                get
                {
                    return this.columnDaoTime;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn DaoZhanColumn
            {
                get
                {
                    return this.columnDaoZhan;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn Deng1Column
            {
                get
                {
                    return this.columnDeng1;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn Deng2Column
            {
                get
                {
                    return this.columnDeng2;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn DengSWColumn
            {
                get
                {
                    return this.columnDengSW;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn DengTDColumn
            {
                get
                {
                    return this.columnDengTD;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn FaTimeColumn
            {
                get
                {
                    return this.columnFaTime;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn FaZhanColumn
            {
                get
                {
                    return this.columnFaZhan;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTCheCiRow this[int index]
            {
                get
                {
                    return (DataSetPiaoInfo.DTCheCiRow) base.Rows[index];
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn PostParColumn
            {
                get
                {
                    return this.columnPostPar;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn QiTaColumn
            {
                get
                {
                    return this.columnQiTa;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn RowIDColumn
            {
                get
                {
                    return this.columnRowID;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn RuanWoColumn
            {
                get
                {
                    return this.columnRuanWo;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn RuanWoGaojiColumn
            {
                get
                {
                    return this.columnRuanWoGaoji;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn RuanZuoColumn
            {
                get
                {
                    return this.columnRuanZuo;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn TimeColumn
            {
                get
                {
                    return this.columnTime;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn WuZuoColumn
            {
                get
                {
                    return this.columnWuZuo;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn YingWoColumn
            {
                get
                {
                    return this.columnYingWo;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn YingZuoColumn
            {
                get
                {
                    return this.columnYingZuo;
                }
            }
        }

        public class DTCheCiRow : DataRow
        {
            private DataSetPiaoInfo.DTCheCiDataTable tableDTCheCi;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal DTCheCiRow(DataRowBuilder rb) : base(rb)
            {
                this.tableDTCheCi = (DataSetPiaoInfo.DTCheCiDataTable) base.Table;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsCheCiNull()
            {
                return base.IsNull(this.tableDTCheCi.CheCiColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsDaoTimeNull()
            {
                return base.IsNull(this.tableDTCheCi.DaoTimeColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsDaoZhanNull()
            {
                return base.IsNull(this.tableDTCheCi.DaoZhanColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsDeng1Null()
            {
                return base.IsNull(this.tableDTCheCi.Deng1Column);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsDeng2Null()
            {
                return base.IsNull(this.tableDTCheCi.Deng2Column);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsDengSWNull()
            {
                return base.IsNull(this.tableDTCheCi.DengSWColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsDengTDNull()
            {
                return base.IsNull(this.tableDTCheCi.DengTDColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsFaTimeNull()
            {
                return base.IsNull(this.tableDTCheCi.FaTimeColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsFaZhanNull()
            {
                return base.IsNull(this.tableDTCheCi.FaZhanColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsPostParNull()
            {
                return base.IsNull(this.tableDTCheCi.PostParColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsQiTaNull()
            {
                return base.IsNull(this.tableDTCheCi.QiTaColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsRowIDNull()
            {
                return base.IsNull(this.tableDTCheCi.RowIDColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsRuanWoGaojiNull()
            {
                return base.IsNull(this.tableDTCheCi.RuanWoGaojiColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsRuanWoNull()
            {
                return base.IsNull(this.tableDTCheCi.RuanWoColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsRuanZuoNull()
            {
                return base.IsNull(this.tableDTCheCi.RuanZuoColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsTimeNull()
            {
                return base.IsNull(this.tableDTCheCi.TimeColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsWuZuoNull()
            {
                return base.IsNull(this.tableDTCheCi.WuZuoColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsYingWoNull()
            {
                return base.IsNull(this.tableDTCheCi.YingWoColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsYingZuoNull()
            {
                return base.IsNull(this.tableDTCheCi.YingZuoColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetCheCiNull()
            {
                base[this.tableDTCheCi.CheCiColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetDaoTimeNull()
            {
                base[this.tableDTCheCi.DaoTimeColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetDaoZhanNull()
            {
                base[this.tableDTCheCi.DaoZhanColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetDeng1Null()
            {
                base[this.tableDTCheCi.Deng1Column] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetDeng2Null()
            {
                base[this.tableDTCheCi.Deng2Column] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetDengSWNull()
            {
                base[this.tableDTCheCi.DengSWColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetDengTDNull()
            {
                base[this.tableDTCheCi.DengTDColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetFaTimeNull()
            {
                base[this.tableDTCheCi.FaTimeColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetFaZhanNull()
            {
                base[this.tableDTCheCi.FaZhanColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetPostParNull()
            {
                base[this.tableDTCheCi.PostParColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetQiTaNull()
            {
                base[this.tableDTCheCi.QiTaColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetRowIDNull()
            {
                base[this.tableDTCheCi.RowIDColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetRuanWoGaojiNull()
            {
                base[this.tableDTCheCi.RuanWoGaojiColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetRuanWoNull()
            {
                base[this.tableDTCheCi.RuanWoColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetRuanZuoNull()
            {
                base[this.tableDTCheCi.RuanZuoColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetTimeNull()
            {
                base[this.tableDTCheCi.TimeColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetWuZuoNull()
            {
                base[this.tableDTCheCi.WuZuoColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetYingWoNull()
            {
                base[this.tableDTCheCi.YingWoColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetYingZuoNull()
            {
                base[this.tableDTCheCi.YingZuoColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string CheCi
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.CheCiColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“CheCi”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.CheCiColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string DaoTime
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.DaoTimeColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“DaoTime”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.DaoTimeColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string DaoZhan
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.DaoZhanColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“DaoZhan”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.DaoZhanColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string Deng1
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.Deng1Column];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“Deng1”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.Deng1Column] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string Deng2
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.Deng2Column];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“Deng2”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.Deng2Column] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string DengSW
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.DengSWColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“DengSW”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.DengSWColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string DengTD
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.DengTDColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“DengTD”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.DengTDColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string FaTime
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.FaTimeColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“FaTime”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.FaTimeColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string FaZhan
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.FaZhanColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“FaZhan”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.FaZhanColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PostPar
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.PostParColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“PostPar”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.PostParColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string QiTa
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.QiTaColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“QiTa”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.QiTaColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string RowID
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.RowIDColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“RowID”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.RowIDColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string RuanWo
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.RuanWoColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“RuanWo”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.RuanWoColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string RuanWoGaoji
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.RuanWoGaojiColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“RuanWoGaoji”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.RuanWoGaojiColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string RuanZuo
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.RuanZuoColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“RuanZuo”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.RuanZuoColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string Time
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.TimeColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“Time”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.TimeColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string WuZuo
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.WuZuoColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“WuZuo”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.WuZuoColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string YingWo
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.YingWoColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“YingWo”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.YingWoColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string YingZuo
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCheCi.YingZuoColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCheCi”中列“YingZuo”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCheCi.YingZuoColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class DTCheCiRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private DataSetPiaoInfo.DTCheCiRow eventRow;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DTCheCiRowChangeEvent(DataSetPiaoInfo.DTCheCiRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTCheCiRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void DTCheCiRowChangeEventHandler(object sender, DataSetPiaoInfo.DTCheCiRowChangeEvent e);

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class DTCityCodeDataTable : TypedTableBase<DataSetPiaoInfo.DTCityCodeRow>
        {
            private DataColumn columnID;
            private DataColumn columnNum;
            private DataColumn columnSID;
            private DataColumn columnText;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCityCodeRowChangeEventHandler DTCityCodeRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCityCodeRowChangeEventHandler DTCityCodeRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCityCodeRowChangeEventHandler DTCityCodeRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTCityCodeRowChangeEventHandler DTCityCodeRowDeleting;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DTCityCodeDataTable()
            {
                base.TableName = "DTCityCode";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal DTCityCodeDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected DTCityCodeDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void AddDTCityCodeRow(DataSetPiaoInfo.DTCityCodeRow row)
            {
                base.Rows.Add(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTCityCodeRow AddDTCityCodeRow(string ID, string Text, string SID, string Num)
            {
                DataSetPiaoInfo.DTCityCodeRow row = (DataSetPiaoInfo.DTCityCodeRow) base.NewRow();
                row.ItemArray = new object[] { ID, Text, SID, Num };
                base.Rows.Add(row);
                return row;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public override DataTable Clone()
            {
                DataSetPiaoInfo.DTCityCodeDataTable table = (DataSetPiaoInfo.DTCityCodeDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataTable CreateInstance()
            {
                return new DataSetPiaoInfo.DTCityCodeDataTable();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override Type GetRowType()
            {
                return typeof(DataSetPiaoInfo.DTCityCodeRow);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                DataSetPiaoInfo info = new DataSetPiaoInfo();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = info.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "DTCityCodeDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = info.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            private void InitClass()
            {
                this.columnID = new DataColumn("ID", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columnText = new DataColumn("Text", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnText);
                this.columnSID = new DataColumn("SID", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnSID);
                this.columnNum = new DataColumn("Num", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnNum);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal void InitVars()
            {
                this.columnID = base.Columns["ID"];
                this.columnText = base.Columns["Text"];
                this.columnSID = base.Columns["SID"];
                this.columnNum = base.Columns["Num"];
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTCityCodeRow NewDTCityCodeRow()
            {
                return (DataSetPiaoInfo.DTCityCodeRow) base.NewRow();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new DataSetPiaoInfo.DTCityCodeRow(builder);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.DTCityCodeRowChanged != null)
                {
                    this.DTCityCodeRowChanged(this, new DataSetPiaoInfo.DTCityCodeRowChangeEvent((DataSetPiaoInfo.DTCityCodeRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.DTCityCodeRowChanging != null)
                {
                    this.DTCityCodeRowChanging(this, new DataSetPiaoInfo.DTCityCodeRowChangeEvent((DataSetPiaoInfo.DTCityCodeRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.DTCityCodeRowDeleted != null)
                {
                    this.DTCityCodeRowDeleted(this, new DataSetPiaoInfo.DTCityCodeRowChangeEvent((DataSetPiaoInfo.DTCityCodeRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.DTCityCodeRowDeleting != null)
                {
                    this.DTCityCodeRowDeleting(this, new DataSetPiaoInfo.DTCityCodeRowChangeEvent((DataSetPiaoInfo.DTCityCodeRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void RemoveDTCityCodeRow(DataSetPiaoInfo.DTCityCodeRow row)
            {
                base.Rows.Remove(row);
            }

            [Browsable(false), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn IDColumn
            {
                get
                {
                    return this.columnID;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTCityCodeRow this[int index]
            {
                get
                {
                    return (DataSetPiaoInfo.DTCityCodeRow) base.Rows[index];
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn NumColumn
            {
                get
                {
                    return this.columnNum;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn SIDColumn
            {
                get
                {
                    return this.columnSID;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn TextColumn
            {
                get
                {
                    return this.columnText;
                }
            }
        }

        public class DTCityCodeRow : DataRow
        {
            private DataSetPiaoInfo.DTCityCodeDataTable tableDTCityCode;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal DTCityCodeRow(DataRowBuilder rb) : base(rb)
            {
                this.tableDTCityCode = (DataSetPiaoInfo.DTCityCodeDataTable) base.Table;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsIDNull()
            {
                return base.IsNull(this.tableDTCityCode.IDColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsNumNull()
            {
                return base.IsNull(this.tableDTCityCode.NumColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsSIDNull()
            {
                return base.IsNull(this.tableDTCityCode.SIDColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsTextNull()
            {
                return base.IsNull(this.tableDTCityCode.TextColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetIDNull()
            {
                base[this.tableDTCityCode.IDColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetNumNull()
            {
                base[this.tableDTCityCode.NumColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetSIDNull()
            {
                base[this.tableDTCityCode.SIDColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetTextNull()
            {
                base[this.tableDTCityCode.TextColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string ID
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCityCode.IDColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCityCode”中列“ID”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCityCode.IDColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string Num
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCityCode.NumColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCityCode”中列“Num”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCityCode.NumColumn] = value;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string SID
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCityCode.SIDColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCityCode”中列“SID”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCityCode.SIDColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string Text
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTCityCode.TextColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTCityCode”中列“Text”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTCityCode.TextColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class DTCityCodeRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private DataSetPiaoInfo.DTCityCodeRow eventRow;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DTCityCodeRowChangeEvent(DataSetPiaoInfo.DTCityCodeRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTCityCodeRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void DTCityCodeRowChangeEventHandler(object sender, DataSetPiaoInfo.DTCityCodeRowChangeEvent e);

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class DTPiaoTypeDataTable : TypedTableBase<DataSetPiaoInfo.DTPiaoTypeRow>
        {
            private DataColumn columnID;
            private DataColumn columnText;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTPiaoTypeRowChangeEventHandler DTPiaoTypeRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTPiaoTypeRowChangeEventHandler DTPiaoTypeRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTPiaoTypeRowChangeEventHandler DTPiaoTypeRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTPiaoTypeRowChangeEventHandler DTPiaoTypeRowDeleting;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DTPiaoTypeDataTable()
            {
                base.TableName = "DTPiaoType";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal DTPiaoTypeDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected DTPiaoTypeDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void AddDTPiaoTypeRow(DataSetPiaoInfo.DTPiaoTypeRow row)
            {
                base.Rows.Add(row);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTPiaoTypeRow AddDTPiaoTypeRow(string ID, string Text)
            {
                DataSetPiaoInfo.DTPiaoTypeRow row = (DataSetPiaoInfo.DTPiaoTypeRow) base.NewRow();
                row.ItemArray = new object[] { ID, Text };
                base.Rows.Add(row);
                return row;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public override DataTable Clone()
            {
                DataSetPiaoInfo.DTPiaoTypeDataTable table = (DataSetPiaoInfo.DTPiaoTypeDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataTable CreateInstance()
            {
                return new DataSetPiaoInfo.DTPiaoTypeDataTable();
            }

            public void FillData()
            {
                this.AddDTPiaoTypeRow("1", "成人票");
                this.AddDTPiaoTypeRow("2", "儿童票");
                this.AddDTPiaoTypeRow("3", "学生票");
                this.AddDTPiaoTypeRow("4", "残军票");
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override Type GetRowType()
            {
                return typeof(DataSetPiaoInfo.DTPiaoTypeRow);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                DataSetPiaoInfo info = new DataSetPiaoInfo();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = info.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "DTPiaoTypeDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = info.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            private void InitClass()
            {
                this.columnID = new DataColumn("ID", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columnText = new DataColumn("Text", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnText);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal void InitVars()
            {
                this.columnID = base.Columns["ID"];
                this.columnText = base.Columns["Text"];
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTPiaoTypeRow NewDTPiaoTypeRow()
            {
                return (DataSetPiaoInfo.DTPiaoTypeRow) base.NewRow();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new DataSetPiaoInfo.DTPiaoTypeRow(builder);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.DTPiaoTypeRowChanged != null)
                {
                    this.DTPiaoTypeRowChanged(this, new DataSetPiaoInfo.DTPiaoTypeRowChangeEvent((DataSetPiaoInfo.DTPiaoTypeRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.DTPiaoTypeRowChanging != null)
                {
                    this.DTPiaoTypeRowChanging(this, new DataSetPiaoInfo.DTPiaoTypeRowChangeEvent((DataSetPiaoInfo.DTPiaoTypeRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.DTPiaoTypeRowDeleted != null)
                {
                    this.DTPiaoTypeRowDeleted(this, new DataSetPiaoInfo.DTPiaoTypeRowChangeEvent((DataSetPiaoInfo.DTPiaoTypeRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.DTPiaoTypeRowDeleting != null)
                {
                    this.DTPiaoTypeRowDeleting(this, new DataSetPiaoInfo.DTPiaoTypeRowChangeEvent((DataSetPiaoInfo.DTPiaoTypeRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void RemoveDTPiaoTypeRow(DataSetPiaoInfo.DTPiaoTypeRow row)
            {
                base.Rows.Remove(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), Browsable(false)]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataColumn IDColumn
            {
                get
                {
                    return this.columnID;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTPiaoTypeRow this[int index]
            {
                get
                {
                    return (DataSetPiaoInfo.DTPiaoTypeRow) base.Rows[index];
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn TextColumn
            {
                get
                {
                    return this.columnText;
                }
            }
        }

        public class DTPiaoTypeRow : DataRow
        {
            private DataSetPiaoInfo.DTPiaoTypeDataTable tableDTPiaoType;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal DTPiaoTypeRow(DataRowBuilder rb) : base(rb)
            {
                this.tableDTPiaoType = (DataSetPiaoInfo.DTPiaoTypeDataTable) base.Table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsIDNull()
            {
                return base.IsNull(this.tableDTPiaoType.IDColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsTextNull()
            {
                return base.IsNull(this.tableDTPiaoType.TextColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetIDNull()
            {
                base[this.tableDTPiaoType.IDColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetTextNull()
            {
                base[this.tableDTPiaoType.TextColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string ID
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTPiaoType.IDColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTPiaoType”中列“ID”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTPiaoType.IDColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string Text
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTPiaoType.TextColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTPiaoType”中列“Text”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTPiaoType.TextColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class DTPiaoTypeRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private DataSetPiaoInfo.DTPiaoTypeRow eventRow;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DTPiaoTypeRowChangeEvent(DataSetPiaoInfo.DTPiaoTypeRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTPiaoTypeRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void DTPiaoTypeRowChangeEventHandler(object sender, DataSetPiaoInfo.DTPiaoTypeRowChangeEvent e);

        [Serializable, XmlSchemaProvider("GetTypedTableSchema")]
        public class DTPiaoXiBieDataTable : TypedTableBase<DataSetPiaoInfo.DTPiaoXiBieRow>
        {
            private DataColumn columnID;
            private DataColumn columnText;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTPiaoXiBieRowChangeEventHandler DTPiaoXiBieRowChanged;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTPiaoXiBieRowChangeEventHandler DTPiaoXiBieRowChanging;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTPiaoXiBieRowChangeEventHandler DTPiaoXiBieRowDeleted;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event DataSetPiaoInfo.DTPiaoXiBieRowChangeEventHandler DTPiaoXiBieRowDeleting;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DTPiaoXiBieDataTable()
            {
                base.TableName = "DTPiaoXiBie";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal DTPiaoXiBieDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected DTPiaoXiBieDataTable(SerializationInfo info, StreamingContext context) : base(info, context)
            {
                this.InitVars();
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void AddDTPiaoXiBieRow(DataSetPiaoInfo.DTPiaoXiBieRow row)
            {
                base.Rows.Add(row);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTPiaoXiBieRow AddDTPiaoXiBieRow(string ID, string Text)
            {
                DataSetPiaoInfo.DTPiaoXiBieRow row = (DataSetPiaoInfo.DTPiaoXiBieRow) base.NewRow();
                row.ItemArray = new object[] { ID, Text };
                base.Rows.Add(row);
                return row;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public override DataTable Clone()
            {
                DataSetPiaoInfo.DTPiaoXiBieDataTable table = (DataSetPiaoInfo.DTPiaoXiBieDataTable) base.Clone();
                table.InitVars();
                return table;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataTable CreateInstance()
            {
                return new DataSetPiaoInfo.DTPiaoXiBieDataTable();
            }

            public void FillData()
            {
                this.AddDTPiaoXiBieRow("1", "硬座");
                this.AddDTPiaoXiBieRow("2", "软座");
                this.AddDTPiaoXiBieRow("3", "硬卧");
                this.AddDTPiaoXiBieRow("4", "软卧");
                this.AddDTPiaoXiBieRow("6", "高级软卧");
                this.AddDTPiaoXiBieRow("9", "商务座");
                this.AddDTPiaoXiBieRow("M", "一等座");
                this.AddDTPiaoXiBieRow("O", "二等座");
                this.AddDTPiaoXiBieRow("P", "特等座");
                this.AddDTPiaoXiBieRow("Q", "观光座");
                this.AddDTPiaoXiBieRow("S", "一等包座");
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override Type GetRowType()
            {
                return typeof(DataSetPiaoInfo.DTPiaoXiBieRow);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType type = new XmlSchemaComplexType();
                XmlSchemaSequence sequence = new XmlSchemaSequence();
                DataSetPiaoInfo info = new DataSetPiaoInfo();
                XmlSchemaAny item = new XmlSchemaAny {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = 0M,
                    MaxOccurs = 79228162514264337593543950335M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(item);
                XmlSchemaAny any2 = new XmlSchemaAny {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = 1M,
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                sequence.Items.Add(any2);
                XmlSchemaAttribute attribute = new XmlSchemaAttribute {
                    Name = "namespace",
                    FixedValue = info.Namespace
                };
                type.Attributes.Add(attribute);
                XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
                    Name = "tableTypeName",
                    FixedValue = "DTPiaoXiBieDataTable"
                };
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                XmlSchema schemaSerializable = info.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream stream = new MemoryStream();
                    MemoryStream stream2 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(stream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema) enumerator.Current;
                            stream2.SetLength(0L);
                            current.Write(stream2);
                            if (stream.Length == stream2.Length)
                            {
                                stream.Position = 0L;
                                stream2.Position = 0L;
                                while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                                {
                                }
                                if (stream.Position == stream.Length)
                                {
                                    return type;
                                }
                            }
                        }
                    }
                    finally
                    {
                        if (stream != null)
                        {
                            stream.Close();
                        }
                        if (stream2 != null)
                        {
                            stream2.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                return type;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private void InitClass()
            {
                this.columnID = new DataColumn("ID", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnID);
                this.columnText = new DataColumn("Text", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.columnText);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal void InitVars()
            {
                this.columnID = base.Columns["ID"];
                this.columnText = base.Columns["Text"];
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataSetPiaoInfo.DTPiaoXiBieRow NewDTPiaoXiBieRow()
            {
                return (DataSetPiaoInfo.DTPiaoXiBieRow) base.NewRow();
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new DataSetPiaoInfo.DTPiaoXiBieRow(builder);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.DTPiaoXiBieRowChanged != null)
                {
                    this.DTPiaoXiBieRowChanged(this, new DataSetPiaoInfo.DTPiaoXiBieRowChangeEvent((DataSetPiaoInfo.DTPiaoXiBieRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.DTPiaoXiBieRowChanging != null)
                {
                    this.DTPiaoXiBieRowChanging(this, new DataSetPiaoInfo.DTPiaoXiBieRowChangeEvent((DataSetPiaoInfo.DTPiaoXiBieRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.DTPiaoXiBieRowDeleted != null)
                {
                    this.DTPiaoXiBieRowDeleted(this, new DataSetPiaoInfo.DTPiaoXiBieRowChangeEvent((DataSetPiaoInfo.DTPiaoXiBieRow) e.Row, e.Action));
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.DTPiaoXiBieRowDeleting != null)
                {
                    this.DTPiaoXiBieRowDeleting(this, new DataSetPiaoInfo.DTPiaoXiBieRowChangeEvent((DataSetPiaoInfo.DTPiaoXiBieRow) e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void RemoveDTPiaoXiBieRow(DataSetPiaoInfo.DTPiaoXiBieRow row)
            {
                base.Rows.Remove(row);
            }

            [DebuggerNonUserCode, Browsable(false), GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn IDColumn
            {
                get
                {
                    return this.columnID;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTPiaoXiBieRow this[int index]
            {
                get
                {
                    return (DataSetPiaoInfo.DTPiaoXiBieRow) base.Rows[index];
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn TextColumn
            {
                get
                {
                    return this.columnText;
                }
            }
        }

        public class DTPiaoXiBieRow : DataRow
        {
            private DataSetPiaoInfo.DTPiaoXiBieDataTable tableDTPiaoXiBie;

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            internal DTPiaoXiBieRow(DataRowBuilder rb) : base(rb)
            {
                this.tableDTPiaoXiBie = (DataSetPiaoInfo.DTPiaoXiBieDataTable) base.Table;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public bool IsIDNull()
            {
                return base.IsNull(this.tableDTPiaoXiBie.IDColumn);
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsTextNull()
            {
                return base.IsNull(this.tableDTPiaoXiBie.TextColumn);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetIDNull()
            {
                base[this.tableDTPiaoXiBie.IDColumn] = Convert.DBNull;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public void SetTextNull()
            {
                base[this.tableDTPiaoXiBie.TextColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string ID
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTPiaoXiBie.IDColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTPiaoXiBie”中列“ID”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTPiaoXiBie.IDColumn] = value;
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public string Text
            {
                get
                {
                    string str;
                    try
                    {
                        str = (string) base[this.tableDTPiaoXiBie.TextColumn];
                    }
                    catch (InvalidCastException exception)
                    {
                        throw new StrongTypingException("表“DTPiaoXiBie”中列“Text”的值为 DBNull。", exception);
                    }
                    return str;
                }
                set
                {
                    base[this.tableDTPiaoXiBie.TextColumn] = value;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class DTPiaoXiBieRowChangeEvent : EventArgs
        {
            private DataRowAction eventAction;
            private DataSetPiaoInfo.DTPiaoXiBieRow eventRow;

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DTPiaoXiBieRowChangeEvent(DataSetPiaoInfo.DTPiaoXiBieRow row, DataRowAction action)
            {
                this.eventRow = row;
                this.eventAction = action;
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0"), DebuggerNonUserCode]
            public DataRowAction Action
            {
                get
                {
                    return this.eventAction;
                }
            }

            [DebuggerNonUserCode, GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataSetPiaoInfo.DTPiaoXiBieRow Row
            {
                get
                {
                    return this.eventRow;
                }
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void DTPiaoXiBieRowChangeEventHandler(object sender, DataSetPiaoInfo.DTPiaoXiBieRowChangeEvent e);
    }
}

